From 483bc797766b1f31b149cba20e14e120bd4afd4e Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 22 Jan 2006 23:10:56 +0000 Subject: [PATCH] * (bug 4633) Add (previous 200) (next 200) also above catlinks --- RELEASE-NOTES | 1 + includes/CategoryPage.php | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d82478e037..6687745dc3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -557,6 +557,7 @@ fully support the editing toolbar, but was found to be too confusing. show a "block user" link in the toolbox * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1 * Suppress useless percentage indicator on output from 7za during dumps +* (bug 4633) Add (previous 200) (next 200) also above catlinks === Caveats === diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 55bd610f60..c27acfcd9f 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -176,6 +176,12 @@ class CategoryPage extends Article { $r.= $ig->toHTML(); } + if( $until != '' ) { + $r .= $this->pagingLinks( $this->mTitle, $nextPage, $until, $limit ); + } elseif( $nextPage != '' || $from != '' ) { + $r .= $this->pagingLinks( $this->mTitle, $from, $nextPage, $limit ); + } + wfProfileOut( $fname ); return $r; } -- 2.20.1